//
//  MyDisabledButton.h
//  CanYouDoIt
//
//  Created by hoangtx on 7/13/13.
//
//

#ifndef CanYouDoIt_MyDisabledButton_h
#define CanYouDoIt_MyDisabledButton_h
#include "MySpriteButton.h"
using namespace cocos2d;

class MyDisabledButton : public MySpriteButton{

    
public:
    bool isEnabled;
    void setEnable(bool mEnable);
    static MyDisabledButton* create(const char* fileName, double mX,double mY,double mWidth,double mHeight);
    virtual void goToDisabledMode();
    virtual bool isTouchedAt(CCPoint touchPosition);
    virtual void updateState();
    virtual bool init();
    CREATE_FUNC(MyDisabledButton);
};


#endif
